[INFO] cloning repository https://github.com/babinc/ib_rust_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/babinc/ib_rust_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabinc%2Fib_rust_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabinc%2Fib_rust_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 141ced4b5845e8de844198268f27767bcac88de9
[INFO] checking babinc/ib_rust_api against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabinc%2Fib_rust_api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/babinc/ib_rust_api on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/babinc/ib_rust_api
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/babinc/ib_rust_api
[INFO] tweaked toml for git repo https://github.com/babinc/ib_rust_api written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/babinc/ib_rust_api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6067d3dc92e1ff48fc952da1cc5475ceabb6334aa55c9982251a8b500f1b5124
[INFO] running `Command { std: "docker" "start" "-a" "6067d3dc92e1ff48fc952da1cc5475ceabb6334aa55c9982251a8b500f1b5124", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6067d3dc92e1ff48fc952da1cc5475ceabb6334aa55c9982251a8b500f1b5124", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6067d3dc92e1ff48fc952da1cc5475ceabb6334aa55c9982251a8b500f1b5124", kill_on_drop: false }`
[INFO] [stdout] 6067d3dc92e1ff48fc952da1cc5475ceabb6334aa55c9982251a8b500f1b5124
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b4b91a98ce19da7fd31d141511084986878782ec43ac2289ad8d0f3a27bf8ff7
[INFO] running `Command { std: "docker" "start" "-a" "b4b91a98ce19da7fd31d141511084986878782ec43ac2289ad8d0f3a27bf8ff7", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling syn v1.0.67
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking thread_local v1.1.0
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking regex-syntax v0.6.22
[INFO] [stderr]     Checking byteorder v0.3.13
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking bytebuffer v0.2.1
[INFO] [stderr]     Checking rsevents v0.2.1
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]     Checking regex v1.4.3
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking ib_rust_api v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/models/bar.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_derive::{Deserialize, Serialize};
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/models/bar.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_derive::{Deserialize, Serialize};
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/contract_details.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use IbRustApi::models::contract::Contract;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/contract_details.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use IbRustApi::enums::incoming_message_enum::IncomingMessagesEnum;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/place_order.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use IbRustApi::models::contract::Contract;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/place_order.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use IbRustApi::enums::incoming_message_enum::IncomingMessagesEnum;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `IbRustApi`
[INFO] [stdout]  --> src/examples/contract_details.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use IbRustApi::IbClient;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/real_time_bars.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use IbRustApi::models::contract::Contract;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/real_time_bars.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use IbRustApi::enums::incoming_message_enum::IncomingMessagesEnum;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/place_order.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use IbRustApi::models::order::Order;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `IbRustApi`
[INFO] [stdout]  --> src/examples/place_order.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use IbRustApi::IbClient;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/examples/place_order.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> src/examples/place_order.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AutoResetEvent`, `Awaitable`, `State`
[INFO] [stdout]  --> src/examples/place_order.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rsevents::{AutoResetEvent, State, Awaitable};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^  ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/tick_by_tick.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use IbRustApi::models::contract::Contract;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::stdin`
[INFO] [stdout]  --> src/examples/place_order.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::stdin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/tick_by_tick.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use IbRustApi::enums::incoming_message_enum::IncomingMessagesEnum;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/tick_by_tick.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use IbRustApi::models::bar::{Bar, BarColors};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/tick_by_tick.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use IbRustApi::models::tick_last::TickLast;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `IbRustApi`
[INFO] [stdout]  --> src/examples/tick_by_tick.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use IbRustApi::IbClient;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/examples/place_order.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | /     loop {
[INFO] [stdout] 18 | |         let event = ib_client.event_receiver.recv().unwrap();
[INFO] [stdout] 19 | |         match event {
[INFO] [stdout] 20 | |             IncomingMessagesEnum::Error(id, code, msg) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |         }
[INFO] [stdout] 49 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 50 |
[INFO] [stdout] 51 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ib_rust_api` (example "contract_details") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/examples/tick_by_tick.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | /     loop {
[INFO] [stdout] 37 | |         let event = ib_client.event_receiver.recv().unwrap();
[INFO] [stdout] 38 | |         match event {
[INFO] [stdout] 39 | |             IncomingMessagesEnum::Error(id, code, msg) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |         }
[INFO] [stdout] 56 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 57 |
[INFO] [stdout] 58 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `IbRustApi`
[INFO] [stdout]  --> src/examples/real_time_bars.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use IbRustApi::IbClient;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/historical_data.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use IbRustApi::enums::incoming_message_enum::IncomingMessagesEnum;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IbRustApi`
[INFO] [stdout]  --> src/examples/historical_data.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use IbRustApi::models::contract::Contract;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `IbRustApi`
[INFO] [stdout]  --> src/examples/historical_data.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use IbRustApi::IbClient;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `IbRustApi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ib_rust_api` (example "place_order") due to 5 previous errors; 5 warnings emitted
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ib_rust_api` (example "tick_by_tick") due to 6 previous errors; 1 warning emitted
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ib_rust_api` (example "real_time_bars") due to 4 previous errors
[INFO] [stderr] error: could not compile `ib_rust_api` (example "history") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "b4b91a98ce19da7fd31d141511084986878782ec43ac2289ad8d0f3a27bf8ff7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4b91a98ce19da7fd31d141511084986878782ec43ac2289ad8d0f3a27bf8ff7", kill_on_drop: false }`
[INFO] [stdout] b4b91a98ce19da7fd31d141511084986878782ec43ac2289ad8d0f3a27bf8ff7
